# -*- coding: UTF-8 -*- 
'''
Created on 2010. 12. 31.

@author: Wonderer
'''

class Finance:
    '''
    classdocs
    '''
    type = 0
    name = ""
    buyPrice = 0
    buyDate = 0
    appraisedPrice = 0
    appraisedDate = ''


    def getProfitRate(self):
        return (self.appraisedPrice/self.buyPrice*100) - 100

